package com.xayy.health.mgt.model;

import cn.kawins.mybatis.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Nie
 * @version V1.0
 * @date 2023/5/31 9:54
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "HEALTH.satellite_code")
@EqualsAndHashCode(callSuper = true)
public class SatelliteCode extends BaseModel<Long> {
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "satellite_name")
    @ApiModelProperty(value = "卫星名称")
    private String satelliteName;

    @Column(name = "satellite_code")
    @ApiModelProperty(value = "卫星代号",notes = "知识图谱那边的")
    private String satelliteCode;

    @Column(name = "satellite_Id")
    @ApiModelProperty(value = "卫星代号",notes = "遥测数据那边的")
    private String satelliteId;

    @ApiModelProperty(value = "新增卫星id")
    @Column(name = "satellite_new_id")
    private String satelliteNewId;

    @Override
    public Long idValue() {
        return id;
    }
}
